#ifndef MASK_H
#define MASK_H

#include <QObject>
#include <QImage>

#include "Face.h"

class FaceDetector;

class Mask : public QObject
{
    Q_OBJECT
public:
    explicit Mask(QObject *parent = 0);
    Mask(QImage image);

    Face face();
    QImage image();

    void setFace(Face face);

signals:

public slots:
    void setImage(QImage image);

private:
    void detectFace();

    FaceDetector* faceDetector;
    QImage mask;
    Face maskFace;

};

#endif // MASK_H
